$OpenBSD: patch-include_ruby_ruby_h,v 1.2 2017/03/24 14:39:05 jeremy Exp $

Fix GCC error: #pragma GCC diagnostic not allowed inside functions
when compiling some extensions.

--- include/ruby/ruby.h.orig	Mon Mar 13 00:30:30 2017
+++ include/ruby/ruby.h	Wed Mar 22 08:33:15 2017
@@ -2196,7 +2196,7 @@ ERRORFUNC(("variable argument length doesn't match"), 
 # define rb_scan_args_verify_count(fmt, varc) \
     ((varc)/(rb_scan_args_count(fmt, varc)))
 
-# ifdef __GNUC__
+# if 0
 # define rb_scan_args_verify(fmt, varc) \
     ({ \
 	int verify; \
